package org.wlw.test;

public class Animal {
    String name;
    public Animal(String name) {
        this.name = name;
    }
    public void enjoy() {
        System.out.println(name+"很高兴!");
    }
}
